<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="indtemuserCss" jsFile="refereeJs" current="用户推荐">
  	<div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>用户推荐
                    <small>推荐人奖励方法</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">客户管理</span>
            </li>
            <li>
                <span class="active">用户推荐</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
                    <div class="col-md-12 col-sm-12 search-form">
                        <form id="searchForm" action="" method="post" name="searchForm">
                            <div class="search-item input-group col-md-4 col-sm-4">
                                <span class="input-group-addon">状态</span>
                                <select class="form-control input-inline" name ="receive_status" id="receive_status">
                                    <option value="CAN_NOT_RECEIVE" selected>不可领取</option>
                                    <option value="CAN_RECEIVE" selected>可领取</option>
                                    <option value="RECEIVE" >已领取</option>
                                </select>
                            </div>
                            <div class="search-item input-group col-md-4 col-sm-4">
		                        <span class="input-group-addon">推荐人</span>
		                        <select id="referee_consumer_id" name="referee_consumer_id" class="form-control input-inline" >
		                         </select>
		                    </div>
		                    <div class="search-item input-group col-md-4 col-sm-4">
                                <span class="input-group-addon">开始日期</span>                               
                                <div>
                                    <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                                        <input type="text" class="form-control" readonly="" id="start-time" name="create_date" value="">
                                        <span class="input-group-btn">
                                            <button class="btn default" type="button">
                                                <i class="fa fa-calendar"></i>
                                            </button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="search-item input-group col-md-4 col-sm-4">
                                <span class="input-group-addon">结束日期</span>
                                <div>
                                    <div class="input-group date date-picker" data-date-format="dd-mm-yyyy">
                                        <input type="text" class="form-control" readonly="" id="end-time" name="create_date_end" value="">
                                        <span class="input-group-btn">
                                            <button class="btn default" type="button">
                                                <i class="fa fa-calendar"></i>
                                            </button>
                                        </span>
                                    </div>
                                </div>
                                
                            </div>
                            <div class="search-item input-group col-md-4 col-sm-4">
                                <a href="javascript:;" class="btn btn-success indsearch" name="search" id="search">查询</a>
                                <a href="javascript:;" class="btn btn-default indreset" name="ret" id="reset">清空</a>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="row">
                <div class="col-md-12">
                    <!-- BEGIN EXAMPLE TABLE PORTLET-->
                    
                    <div class="portlet light bordered">
                         <button id="grant_batch" class="btn sbold green"> 批量发放
                         </button>
                        <div class="portlet-body">
                        	
                            <table class="table table-striped table-bordered table-hover table-checkable order-column" id="refereeList">
                                <thead>
                                    <tr>
                                        <th style="width:1%">
                                            <input type="checkbox" class="group-checkable" data-set="#refereeList .checkboxes" /> </th>
                                        <th> 姓名 </th>
                                        <th> 推荐人 </th>
                                        <th> 推荐码 </th>
                                        <th> 电子账户 </th>
                                      	<th> 数据操作  </th>
                                    </tr>
                                </thead>
                                <tbody>
                                     
                                </tbody>
                            </table>
                        </div>
                        <div class="caption">
                            <div id="tips" class="tips"></div>
                        </div>
                        <div class="caption">
                        </div>
                    </div>
                    <!-- END EXAMPLE TABLE PORTLET-->
                </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>